namespace net_work.IService.ISystem;

public interface IExcelExportService
{
    /// <summary>
    /// 导出Excel
    /// </summary>
    /// <param name="data">数据</param>
    /// <typeparam name="T">数据类型</typeparam>
    /// <returns>Excel文件</returns>
    byte[] ExportToExcel<T>(IEnumerable<T> data);
}